#ifndef _KMAVAL_H_
#define _KMAVAL_H_

#include <stdint.h>

#define MAX_BVAL_SIZE 4
struct s_micro_bval{
    uint8_t mask;
    int32_t val[MAX_BVAL_SIZE];
};

void kmicro_bval_set(struct s_micro_bval *bval, uint8_t pri, uint8_t en, int32_t val);
int32_t kmicro_bval_get(struct s_micro_bval *bio);
uint8_t kmicro_bvalpri_is_enable(struct s_micro_bval *bio, uint8_t pri);


#endif

